//债券信息维护
import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();
export default {
  //查询债券信息列表
  bondInfoList: (query) => api.post(`${config.interfaces.type15}bndRegulation/getBndRegulationInfo`, query),
  //新增债券信息
  bondInfoListAdd: (query) => api.post(`${config.interfaces.type15}bndRegulation/saveOrUpdate`, query),
  //根据证券代码进行数据回填
  bondInfoDetail: (query) => api.get(`${config.interfaces.type15}bndRegulation/backfill`, query),
  //债券信息维护批量确认
  bondInfoListConfirm: (query) => api.post(`${config.interfaces.type15}bndRegulation/confirm`, query),
  //删除
  deleteById: (query) => api.get(`${config.interfaces.type15}bndRegulation/deleteById`, query),
  //获取同发行人列表
  getVerifyData: (query) => api.post(`${config.interfaces.type15}bndRegulation/verificationWithTheIssuer`, query),
   //同发行人表格数据修改保存接口
   saveVerifyData: (query) => api.get(`${config.interfaces.type15}bndRegulation/editedByTheSameIssuer`, query),
//获取资讯校验列表
  getInfoData: (query) => api.get(`${config.interfaces.type15}bndRegulation/informationComparisonVerification`, query),
 // 保存资讯表格修改数据
 saveInfoData: (query) => api.get(`${config.interfaces.type15}bndRegulation/editedZXComparisonVerification`, query),


};
